package testing;

public class XorTesting {
	public static void main(String[] args){
		String s1, s2;
		s1= new String("Hello99999ffff");
		s2= new String("World56433rrrr");
		byte[] b1= s1.getBytes();
		byte[] b2=s2.getBytes();
		System.out.println("b1:"+b1[0]+b1[1]+b1[2]+b1[3]);
		//byte[] result= new byte[10];
		int result=0;
		

		StringBuilder sb = new StringBuilder();
		for(int i=0; i<s1.length() && i<s2.length();i++)
			result=((b1[i]^b2[i]));
		System.out.println(result);
//		for( int j=0; j<result.length;j++)
//			System.out.print(result[j]);
//		    sb.append((char)(s1.charAt(i) ^ s2.charAt(i)));
//		String result = sb.toString();
//		System.out.println(""+result);

	}

}
